<template>

    <v-touch v-on:swipeleft="swiperleft" v-on:swiperight="swiperright" class="wrapper">
        <div class="touch-box">123</div>
        <!-- 需要监听的内容 -->
    </v-touch>

</template>
<script>
export default {
    name: '',
    components: {
    },
    data() {
        return {}
    },
    created() {
    },
    mounted() {
    },
    methods: {
        swiperleft: function () {
            console.log("左划")
        },
        swiperright: function () {
            console.log("右滑")
        },

    },
}
</script> 

<style scoped lang="scss">
.touch-box {
    background-color: #fff;
    width: 100%;
    height: 100vh;
}
</style>
